<cfoutput>
<form name="loginform" action="#cgi.SCRIPT_NAME#" method="post">
<!--- 
IN order for the controller to know where form is submitting, 
place your event hidden element, to point to your handler's method.
Also, note that the form, submits to the cgi.SCRIPT_NAME

Example: ehGeneral.doLogin.

The controller will instantiate the ehGeneral handler and run the
doLogin method.  All the form variables and url variables are gathered
by the controller into the request collection.
--->
<input type="hidden" name="event" value="#Event.getValue("xehLogin")#">
<!--- ColdBox messages box if errors --->
<table> 
	  	<tr>
		  	<td><strong>Username:</strong></td>
			<td height="32"><input name="username" type="text" id="username" value="#Event.getValue("username","")#"></td>
		</tr>
		<tr>
         	<td><strong>Password:</strong></td>
			<td><input name="password" type="password" id="password" /></td>
		</tr>
   		<tr><td colspan="2"><input type="submit" name="Submit" value="Login" /></td></tr>
</table>
</form>
</cfoutput>